#include <animation/KeyFrame.h>

namespace ne
{
    KeyFrame::KeyFrame(const AnimationTrack *parent, const real time)
        : mTime(time),
          mpParentTrack(parent)
    {
    }

    real KeyFrame::getTime() const
    {
        return mTime;
    }

    KeyFrame* KeyFrame::clone(const AnimationTrack *newParent) const
    {
        return new KeyFrame(newParent, mTime);
    }

    KeyFrame::~KeyFrame()
    {
    }
}
